package com.xintai.approval.service.impl;

import com.xintai.approval.domain.Employees;
import com.xintai.approval.mapper.EmployeeMapper;
import com.xintai.approval.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class EmployeeServiceImpl implements EmployeeService {

    @Autowired
    private EmployeeMapper employeeMapper;

    @Override
    public List<Employees> selectEmployees(Employees employees) {
        employees.setIsLeave("0");
        return employeeMapper.selectEmployees(employees);
    }
}
